package com.itheima.pojo;
import lombok.Data;

import javax.persistence.Column;
import javax.persistence.Id;
import javax.persistence.Table;
import java.util.Date;


@Data
@Table(name = "t_user")
public class User {

    @Id
    private String uid;

    @Column(name = "user_name")
    private String userName;

    @Column(name = "pass_word")
    private String passWord;

    private Integer gender;

    private String avatar;

    private String email;

    private Date birthday;

    private String mobile;

    @Column(name = "valid_code")
    private String validCode;

    private String summary;


    @Column(name = "login_count")
    private Integer loginCount;

    @Column(name = "last_login_time")
    private Date lastLoginTime;

    @Column(name = "last_login_ip")
    private String lastLoginIp;

    private Integer status;

    @Column(name = "create_time")
    private Date createTime;

    @Column(name = "update_time")
    private Date updateTime;

    @Column(name = "nick_name")
    private String nickName;

    private String source;

    private String uuid;

    @Column(name = "qq_number")
    private String qqNumber;

    @Column(name = "we_chat")
    private String weChat;

    private String occupation;

    @Column(name = "comment_status")
    private Integer commentStatus;

    @Column(name = "ip_source")
    private String ipSource;

    private String browser;

    private String os;

    @Column(name = "start_email_notification")
    private Integer startEmailNotification;

    @Column(name = "user_tag")
    private Integer userTag;

}
